﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SystemCenterSoa.DtoModel.ContractManager
{
   public class ContractDto
    {

        public int contract_id { get; set; }
        public string contract_account { get; set; }
        /// <summary>
        /// 合同名称
        /// </summary>
        public string contract_name { get; set; }
        /// <summary>
        /// 建设单位
        /// </summary>
        public string construct_unit { get; set; }
        /// <summary>
        /// 结构形式
        /// </summary>
        public string structural_type_id { get; set; }

        /// <summary>
        /// 工程负责人
        /// </summary>
        public int project_leader_id { get; set; }
        /// <summary>
        /// 甲方负责人
        /// </summary>
        public string first_leader { get; set; }
        /// <summary>
        /// 原始合同额
        /// </summary>
        public string original_amount { get; set; }
        /// <summary>
        /// 图纸套数
        /// </summary>
        public int drawing_num { get; set; }
        /// <summary>
        /// 图纸套数(已出)
        /// </summary>

        public int drawing_num_yet { get; set; }
        /// <summary>
        /// 建筑分类
        /// </summary>
        public string build_type_id { get; set; }
        /// <summary>
        /// 工程负责人电话
        /// </summary>
        public string project_leader_tel { get; set; }
        /// <summary>
        /// 甲方负责人电话
        /// </summary>
        public string first_leader_tel { get; set; }
        /// <summary>
        /// 真实额度
        /// </summary>
        public string real_amount { get; set; }
        /// <summary>
        /// 差旅次数
        /// </summary>
        public int trip_num { get; set; }

        public int trip_num_yet { get; set; }
        /// <summary>
        /// 合同分类
        /// </summary>
        public int contract_type_id { get; set; }
        /// <summary>
        /// 甲方类型
        /// </summary>
        public int first_party_type_id { get; set; }
        /// <summary>
        /// 建筑面积
        /// </summary>
        public string covered_area { get; set; }
        /// <summary>
        /// 子公司
        /// </summary>
        public int subsidiary_corporation { get; set; }
        /// <summary>
        /// 工程地点
        /// </summary>
        public string project_site { get; set; }
        /// <summary>
        /// 合同签约日期
        /// </summary>
        public DateTime contract_date { get; set; }
        /// <summary>
        /// 合同允许状态
        /// </summary>
        public int contractual_permissible_state { get; set; }
        /// <summary>
        /// 合同备注
        /// </summary>
        public string contract_note { get; set; }
        /// <summary>
        ///  合同文本编号
        /// </summary>
        public string contract_text_id { get; set; }
        /// <summary>
        ///客户外键
        /// </summary>

        public int customers_id { get; set; }


        /// <summary>
        /// 签约序号
        /// </summary>
        public string signed_idx { get; set; }

        /// <summary>
        /// 协议名称
        /// </summary>
        public string signed_name { get; set; }

        /// <summary>
        /// 签约建筑面积
        /// </summary>
        public int signed_area { get; set; }


        /// <summary>
        /// 签约额度
        /// </summary>
        public string signed_limit { get; set; }

        /// <summary>
        /// 签约状态
        /// </summary>
        public int signed_status { get; set; }

        /// <summary>
        /// 签约信息备注
        /// </summary>
        public string signed_notes { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? create_name { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public DateTime? create_time { get; set; } 
    }
}
